import request from '@/utils/request'

export default {

//  生成统计数据
  createData(day) {
    return request({
      url: `/count/registerCount/${day}`,
      method: 'post',
    })
  },

//  显示图表数据
  showChartsData(searchObj) {
    return request({
      url: `/count/showCharts/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
      method: 'get',
    })
  },

}

